const Scope_Apis = {

    // 获取范围列表
    getScopes: {
        method: "get",
        url: '/permission/scope'
    },

    // 获取平台范围列表
    getPlatformScopes: {
        method: "get",
        url: '/permission/scope/platform'
    },

    // 获取平台范围列表
    getUniversityScopes: {
        method: "get",
        url: '/permission/scope/university'
    },

    getParentScopes: {
        method: "get",
        url: '/permission/scope/getParentScopes'
    },

    getChildrenScopes: {
        method: "get",
        url: '/permission/scope/getChildrenScopes'
    },

    // 查询范围列表（排除节点），jointUrl: "/"+id
    getScopeExcludeChild: {
        method: "get",
        url: '/permission/scope/exclude'
    },

    // 查询具体范围详细，jointUrl: "/"+id
    getScope: {
        method: "get",
        url: '/permission/scope'
    },

    // 查询范围下拉树结构
    scopeTreeSelect: {
        method: "get",
        url: '/permission/scope/treeSelect'
    },

    // 查询范围下拉树结构
    getPlatformTreeSelect: {
        method: "get",
        url: '/permission/scope/platform/treeSelect'
    },

    // 查询范围下拉树结构
    getUniversityTreeSelect: {
        method: "get",
        url: '/permission/scope/university/treeSelect'
    },

    // 根据角色ID查询范围下拉树结构，jointUrl: "/"+roleId
    roleScopeTreeSelect: {
        method: "get",
        url: '/permission/scope/roleScopeTreeSelect'
    },

    // 新增范围配置
    saveScope: {
        method: "post",
        url: '/permission/scope'
    },

    // 修改范围配置
    updateScope: {
        method: "put",
        url: '/permission/scope'
    },

    // 删除范围配置，jointUrl: "/"+scopeId
    deleteScope: {
        method: "delete",
        url: '/permission/scope'
    }
}

export default Scope_Apis
